/**
 * Cycling Power Measurement
 * AXO魔改协议
 * @property flag Int? 标志位
 * @property power Int? 功率
 * @property balance Int? 左右平衡
 * @property cadence Int? 踏频
 * @property cadenceInterval Int? 踏频间隔时间
 * @property totalPower Int? 累加功率
 */
class CyclingPowerMeasurementResp {
  int? flag;
  int? power;
  int? balance;
  int? cadence;
  int? cadenceInterval;
  int? totalPower;

  CyclingPowerMeasurementResp({
    this.flag,
    this.power,
    this.balance,
    this.cadence,
    this.cadenceInterval,
    this.totalPower,
  });

  CyclingPowerMeasurementResp copyWith({
    int? flag,
    int? power,
    int? balance,
    int? cadence,
    int? cadenceInterval,
    int? totalPower,
  }) {
    return CyclingPowerMeasurementResp(
      flag: flag ?? this.flag,
      power: power ?? this.power,
      balance: balance ?? this.balance,
      cadence: cadence ?? this.cadence,
      cadenceInterval: cadenceInterval ?? this.cadenceInterval,
      totalPower: totalPower ?? this.totalPower,
    );
  }

  @override
  String toString() {
    return 'CyclingPowerMeasurementResp{flag: $flag, power: $power, balance: $balance, cadence: $cadence, cadenceInterval: $cadenceInterval, totalPower: $totalPower}';
  }
}
